package org.example.myleet.p672;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(4 == solution.flipLights(5, 1));
        Assert.isTrue(1 == solution.flipLights(1, 0));
        Assert.isTrue(2 == solution.flipLights(1, 1));
        Assert.isTrue(3 == solution.flipLights(2, 1));
        Assert.isTrue(4 == solution.flipLights(3, 1));
        Assert.isTrue(4 == solution.flipLights(4, 1));
        Assert.isTrue(7 == solution.flipLights(4, 2));
        Assert.isTrue(8 == solution.flipLights(999, 999));
    }
}
